package com.sfh.ship;

import java.util.List;

import android.content.Intent;

import cn.bmob.v3.Bmob;

import com.library.LibraryApplication;
import com.sfh.ship.entry.Ship;
import com.sfh.ship.entry.ShipBuilder;
import com.sfh.ship.entry.ShipUser;
import com.sfh.ship.entry.Tech;
import com.sfh.ship.service.ShipService;

public class ShipApplication extends LibraryApplication
{
    
    @Override
    public void onCreate()
    {
        super.onCreate();
        Bmob.initialize(this, "921a6bd01c68893edbb5d73b105c016b");
        startService(new Intent(this, ShipService.class));
    }
    
    @Override
    public void setTableClass(String arg0, int arg1, List<Class<?>> arg2)
    {
        arg0 = "ship.db";
        arg1 = 3;
        arg2.add(ShipBuilder.class);
        arg2.add(Tech.class);
        arg2.add(ShipUser.class);
        arg2.add(Ship.class);
    }
    
   
    
}
